﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="recommend.aspx.cs" Inherits="BackGround_recommend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>详细信息</title>
    <link href="../Css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style3
        {
            height: 9px;
            width: 648px;
            text-align: center;
        }
        .style23
        {
            height: 49px;
        }
        #Button1
        {
            width: 67px;
        }
        .style24
        {
            height: 29px;
        }
    </style>
</head>
<body style="background-repeat: no-repeat;">
    <form id="form1" runat="server">
    <div style="background-repeat: no-repeat">
        <table style="width: 750px;">
            <tr>
                <td style="text-align: center; vertical-align= middle">
                    <label id="se" runat="server">
                        请输入：<asp:TextBox ID="umsg" runat="server" Width="158px"></asp:TextBox>&nbsp;&nbsp;
                        <asp:DropDownList ID="dlSearchType" runat="server"  Style="font-size: medium">
                            <asp:ListItem Text="请选择查找方式" Value="0"></asp:ListItem>
                            <asp:ListItem Text="按ID查找" Value="1"></asp:ListItem>
                            <asp:ListItem Text="按姓名查找" Value="2"></asp:ListItem>
                            <asp:ListItem Text="按邮箱查找" Value="3"></asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;&nbsp;&nbsp;
                        <asp:Button ID="BtSearch" runat="server" Text="查找" Height="22px" OnClick="BtSearch_Click" />
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblPageSum" runat="server" Style="left: 428px; top: 23px;"></asp:Label>
                    <asp:RadioButton ID="rdoBtnCheckBus" runat="server" AutoPostBack="True" GroupName="checkState"
                        OnCheckedChanged="rdoBtnCheckBus_CheckedChanged" Text="企业用户"
                        Checked="true" />
                    <asp:RadioButton ID="rdoBtnCheckSci" runat="server" AutoPostBack="True" GroupName="checkState"
                        OnCheckedChanged="rdoBtnCheckSci_CheckedChanged" Text="科研机构"/>
                    <asp:RadioButton ID="rdoBtnCheckSpe" runat="server" AutoPostBack="True" GroupName="checkState"
                        OnCheckedChanged="rdoBtnCheckSpe_CheckedChanged" Text="专业人士" />
                </td>
            </tr>
            <tr>
                <td valign="top" class="style23">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CellPadding="3" ForeColor="#333333" GridLines="None" Height="16px" OnPageIndexChanging="GridView1_PageIndexChanging"
                        OnRowDataBound="GridView1_RowDataBound" Width="592px" PageSize="24">
                        <PagerSettings FirstPageText="第一页" LastPageText="末一页" Mode="NextPreviousFirstLast"
                            NextPageText="下一页" PreviousPageText="上一页" />
                        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="用户ID">
                                <ItemStyle Width="80px" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="type" HeaderText="用户类型">
                                <ItemStyle Width="80px" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="name" HeaderText="用户姓名">
                                <ItemStyle Width="80px" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="email" HeaderText="邮箱">
                                <ItemStyle Width="80px" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="active" HeaderText="用户状态">
                                <ItemStyle Width="80px" HorizontalAlign="Left" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:HyperLinkField HeaderText="详细信息" Text="详细" DataNavigateUrlFields="id" DataNavigateUrlFormatString="UserBaseInfo.aspx?id={0}"
                                Target="_self" ItemStyle-HorizontalAlign="Center">
                                <HeaderStyle Width="80px" />
<ItemStyle HorizontalAlign="Center" Width="80px"></ItemStyle>
                            </asp:HyperLinkField>
                            <asp:TemplateField HeaderText="推荐" ItemStyle-HorizontalAlign="Center">
                                <ItemTemplate>
                                    <asp:CheckBox ID="cb" runat="server"/></ItemTemplate>

<ItemStyle HorizontalAlign="Center" Width="80px"></ItemStyle>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle BackColor="#E3EAEB" />
                        <EditRowStyle BackColor="#7C6F57" />
                        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="False" ForeColor="#333333" />
                        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
            <tr><td class="style24"></td></tr>
            <tr>
                <td align="left" valign="top">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;
                    <asp:Button ID="btRcm" runat="server" OnClick="btRcm_Click" Text="推荐"
                        Style="margin-left: 36px" Width="91px" />
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input id="Button1" type="button" value="返回" onclick="javascript:history.go(-2);"/>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
